package com.ehome.poct.core.dao.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ehome.poct.core.api.dto.report.TestReportConfigDTO;
import com.ehome.poct.core.dao.entity.check.CheckReportDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: muqiu
 * @time: 2022/3/3 18:01
 */
@Mapper
public interface BldReportMapper extends BaseMapper<CheckReportDO> {
    /**
     * 删除报告
     * @param id
     * @param now
     */
    void del(Long id, LocalDateTime now);

    void reportConfigBld(@Param("dto") TestReportConfigDTO dto);

    void updateByOrderNo(@Param("orderNo") String orderNo);
}
